﻿<html>
<head>
  <title>index</title>
  
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
			<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css" />
			<script type="text/javascript" src="extjs/adapter/ext/ext-base.js"></script>
			<script type="text/javascript" src="extjs/ext-all.js"></script>
			<script type="text/javascript" src="js/lefttree.js"></script>
			<script type="text/javascript" src="extjs/ux/TabCloseMenu.js"></script>
			<script type="text/javascript" src="extjs/ux/fileuploadfield/FileUploadField.js"></script>

			<link rel="stylesheet" type="text/css" href="css/index.css"/>
			<link rel="stylesheet" type="text/css" href="extjs/ux/fileuploadfield/css/fileuploadfield.css"/>
			<link rel="stylesheet" type="text/css" title="blue"      href="extjs/resources/css/xtheme-blue.css" />
			<link rel="stylesheet" type="text/css" title="gray"      href="extjs/resources/css/xtheme-gray.css" />
			<link rel="stylesheet" type="text/css" title="access"    href="extjs/resources/css/xtheme-access.css" />
			<link rel="stylesheet" type="text/css" title="yourtheme" href="extjs/resources/css/yourtheme.css" />



    <style type="text/css">
<!--
.STYLE1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 18px;
	color: #FFFFFF;
	font-weight: bold;
}
.STYLE3 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 11px;
	color: #FFFFFF;
	font-weight: bold;
	
	}
.STYLE2 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 9px;
	color: #FFFFFF;
	font-weight: bold;
	
	}

	a:link{text-decoration:none ; color:white ;}
	a:visited {text-decoration:none ; color:white;}
	a:hover {text-decoration:underline ; color:white;}
	a:active {text-decoration:none ; colorwhite;} 
	
	.textfield-red { 
   color: #FF0000;  
} 
.mytoolbar         
{            
	border: 10px !important;            
	background-color:#ff0000;            
	color:#ff0000;        
}
-->
    </style>
<script language='Javascript'>
	function SMP(){
		parent.document.getElementById('main').src="http://202.22.248.35:21880/smp/portal/main.action";
	}	
	var ishide = "";
	function FW(type,hide){
		ishide = hide;
		parent.document.getElementById('main').src="main.html";
		var oFrm = parent.document.getElementById('main');
		oFrm.onload = oFrm.onreadystatechange = function() {
     if (this.readyState && this.readyState != 'complete') return;
     else {
     		 parent.main.SubLink(type,ishide);
         
     }
    }		
		
	}
	function SMP1(type){
		if(type == '1'){
			parent.document.getElementById('main').src="main2.html";
		}else if(type == '2'){
			parent.document.getElementById('main').src="main3.html";
		}else if(type == '3'){
			parent.document.getElementById('main').src="main4.html";
		}
		
		
		
	}
	
	Ext.onReady(function() {
    var toolbar = new Ext.Toolbar({
        renderTo: 'docbody',
        hideBorders:true,
        cls:'mytoolbar',
      	style:'background: url(\'images/bg1.jpg\') no-repeat;',
      	autoHeight:true,autoWidth:true,
        items: [
        		'->',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">安全门户</span>',
							iconCls : 'flag',
							
							handler : function() {
								SMP();
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">策略中心</span>',
							iconCls : 'flow',
							handler : function() {
								SMP1('1');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">资产</span>',
							iconCls : 'server',
							handler : function() {
								parent.document.getElementById('main').src="http://202.22.248.35:21880/smp/asset/manager.action";
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">作业</span>',
							iconCls : 'package',
							handler : function() {
								SMP1('2');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">符合性</span>',
							iconCls : 'subnet',
							handler : function() {
								SMP1('3');
							}
						}
						,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">ACL管理</span>',
							iconCls : 'analyze',
							handler : function() {
								FW('aclManager','1');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">ACL优化</span>',
							iconCls : 'analyze',
							handler : function() {
								FW('analyze','2');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">应用安全信息</span>',
							iconCls : 'package',
							handler : function() {
								FW('appinfo','3');
							}
						}
        		
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">防火墙管理</span>',
							iconCls : 'firewall',
							handler : function() {
								FW('firewall','4');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">报表</span>',
							iconCls : 'count',
							handler : function() {
								FW('report','5');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">知识库</span>',
							iconCls : 'docs',
							handler : function() {
								FW('docs','5');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">日志</span>',
							iconCls : 'sys_log',
							handler : function() {
								FW('logs','5');
							}
						}
        		,'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">预警</span>',
							iconCls : 'tip',
							handler : function() {
								FW('warnning','6');
							}
						},'-',{
							text : '<span class="STYLE3" onmouseover=this.style.color="#000000" onmouseout=this.style.color="#ffffff">系统</span>',
							iconCls : 'system',
							handler : function() {
								FW('system','7');
							}
						}
        		]
    });
    
    
});
</script>
</head>
  
  <body background="images/bg.jpg" id="docbody">
  <table width="100%" height="40" border="0">
    <tr>
      <td width="131" rowspan="2">&nbsp;</td>
      <td width="466" height="40" valign="bottom"> <span class="STYLE1"> 防火墙策略管理与运维工具</span> 	  </td>
      <td width="41">      </td>
	   <td width="552" align="right" valign="top"><span class="STYLE2">当前用户:admin</span>
            	<span class="STYLE2">&nbsp;<img src="images/modifypwd.png" border="0"/><a href="#" onClick="parent.ModifyPassword()">修改密码</a></span>
            	<span class="STYLE2">&nbsp;<img src="images/link.png" border="0"/><a href="#" onClick="">待办(2)</a></span>
            	<span class="STYLE2">&nbsp;<img src="images/filter.png" border="0"/><a href="#" onClick="parent.ModifyFilter()">显示设备过滤</a></span>
   	   <span class="STYLE2">&nbsp;<img src="images/logout.png" border="0"/><a href="#" onClick="parent.LogoutSystem()">注销</a></span></td>
       <td width="28" align="right" valign="top">&nbsp;</td>
      <td width="7" rowspan="2">&nbsp;</td>
    </tr>
    <tr>    </tr>
  </table>
   
  </body>
</html>
